vcpkg_from_github(
    OUT_SOURCE_PATH SOURCE_PATH
    REPO rioki/rsig
    REF v0.2.0
    SHA512 d64f442573768cbb8c6728d2930f69502d85c3b2471ecb767699fc90a66f160dbf25d5420b2ce67888fbaadfbad09698e22f3846b873405531b3f8c820d6a532
    )

file(INSTALL ${SOURCE_PATH}/rsig/rsig.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/rsig)

file(COPY "${CURRENT_PORT_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
configure_file(${SOURCE_PATH}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
